package com.example.demo.api;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @author hankChan
 *         2018/2/2 0002.
 */
@Controller
public class PublishAPIs {

    @RequestMapping(value = "/publish.htm", method = RequestMethod.GET)
    public String publish(HttpServletResponse response) throws IOException {
        return "publish";
    }
}
